!function(){var p={},s="https:"===document.location.protocol;p.IMPLICIT_FLAG="0",p.EXPLICIT_FLAG="1",p.EXPLICIT_FLAG_EU="2",p.POLICY_REFRESH_DATE_MILLIS=new Date(2015,4,21,0,0,0,0).getTime(),p.PRIVACY_COOKIE_NAME="ckns_privacy",p.EXPLICIT_COOKIE_NAME="ckns_explicit",p.POLICY_COOKIE_NAME="ckns_policy",p.CURRENT_PRIVACY_POLICY="july2019";var e,a="ckns_policy_exp",o=["AT","AX","BE","BG","BL","CY","CZ","DE","DK","EE","ES","EU","FI","FR","GB","GF","GG","GI","GP","GR","HR","HU","IE","IM","IS","IT","JE","LI","LT","LU","LV","MF","MT","MQ","NL","NO","PL","PM","PT","RE","RO","SE","SI","SK","YT"],t={ads:!1,personalisation:!1,performance:!1,necessary:!0},i={},r={personalisation:"ckps_.+|X-AB-iplayer-.+|ACTVTYMKR|BBC_EXAMPLE_COOKIE|BBCIplayer|BBCiPlayerM|BBCIplayerSession|BBCMediaselector|BBCPostcoder|bbctravel|CGISESSID|ed|food-view|forceDesktop|h4|IMRID|locserv|MyLang|myloc|NTABS|ttduserPrefs|V5|BBCScienceDiscoveryPlaylist_.+|bitratePref|correctAnswerCount|genreCookie|highestQuestionScore|incorrectAnswerCount|longestStreak|MSCSProfile|programmes-oap-expanded|quickestAnswer|score|servicePanel|slowestAnswer|totalTimeForAllFormatted|v|BBCwords|score|correctAnswerCount|highestQuestionScore|hploc|BGUID|BBCWEACITY|mstouch|myway|BBCNewsCustomisation|cbbc_anim|cbeebies_snd|bbcsr_usersx|cbeebies_rd|BBC-Latest_Blogs|zh-enc|pref_loc|m|bbcEmp.+|recs-.+|_lvd2|_lvs2|tick|_fcap_CAM1|_rcc2",performance:"ckpf_.+|optimizely.*|BBCLiveStatsClick|id|_em_.+|cookies_enabled|mbox|mbox-admin|mc_.+|omniture_unique|s_.+|sc_.+|adpolicyAdDisplayFrequency|ns_session|ns_cookietest|ns_ux|NO-SA|tr_pr1|gvsurvey|bbcsurvey|si_v|obuid|mm_.+|mmid|mmcore.+|mmpa.+|dtCookie|dtPC|rxVisitor|rxvt|dtSa|dtLatC",ads:"ckad_.+|rsi_segs|c",necessary:"optimizelyEndUserId|ckns_.+|blq\\.dPref|idrxvr|s1|atidvisitor|atuserid|sa_labels|_cb_ls|_cb_svref|_chartbeat2|_chartbeat5|_chartbeat4|_cb|_cb_cp|SSO2-UID|BBC-H2-User|rmRpDetectReal|bbcComSurvey|IDENTITY_ENV|IDENTITY|IDENTITY-HTTPS|IDENTITY_SESSION|BBCCOMMENTSMODULESESSID|bbcBump.+|IVOTE_VOTE_HISTORY|pulse|BBCPG|BBCPGstat|ecos\\.dt|_sm_au_[c|d]|AMAuthCookie|AM_REDIRECT_BACK_SERVER_URL|AWSELB|(devN|uatN|n)ightfall(Session|Refresh)Token|amlbcookie|i00"};function _(e,o){o&&o(new Error(e))}function c(e,o){if(void 0===e)return null;var t={};t.expires=new Date(0),o&&(t.domain=o.domain,t.path=o.path),document.cookie=E(e,"removed",t)}function n(e){var o=window.location.hostname.split(".");o.length;for(c(e),u(e);o.length&&-1==="|co.uk|com|".indexOf("|"+o.join(".")+"|");){if(o.length){var t=o.join(".");c(e,{domain:t}),u(e,t)}o.shift()}}function u(e,o){var t=window.location.pathname.split("/");for(c(e,o);t.length;){var n=t.join("/");""===n&&(n="/"),c(e,{domain:o,path:n}),c(e,{domain:"."+o,path:n}),t.pop()}}function d(){var e=new RegExp("(?:^|; ?)"+p.POLICY_COOKIE_NAME+"=(\\d)(\\d)(\\d)($|;)"),o=document.cookie.match(e);return o?{ads:!!+o[1],personalisation:!!+o[2],performance:!!+o[3],necessary:!0}:t}function l(){var e=new Date;return e.setYear(e.getFullYear()+1),e}function m(e,o,t){var n=l(),i=""+(e.ads?1:0)+(e.personalisation?1:0)+(e.performance?1:0),r=p._getCurrentDomain();p.set(p.POLICY_COOKIE_NAME,i,{domain:r,path:"/",expires:n,crossDomainEnabled:o,sameSite:"None",secure:s},t);var c=new Date(n.getTime());return c.setMonth(c.getMonth()+1),p.set(a,n.getTime(),{domain:r,path:"/",expires:c,sameSite:"None",secure:s}),e}function C(e,o,t){var n=l(),i=""+e,r=p._getCurrentDomain();return p.set(p.EXPLICIT_COOKIE_NAME,i,{domain:r,path:"/",expires:n,crossDomainEnabled:o,sameSite:"None",secure:s},t),e}function f(e){return e=(e=e.replace(/[^#$&+\^`|]/g,encodeURIComponent)).replace(/\(/g,"%28").replace(/\)/g,"%29")}function E(e,o,t){t&&t.domain&&t.domain;var n=e+"="+(o=(o+"").replace(/[^!#$&-+\--:<-\[\]-~]/g,encodeURIComponent));return n+=(t=t||{}).path?";path="+t.path:"",n+=t.domain?";domain="+t.domain:"",n+=t.expires?";expires="+t.expires.toUTCString():"",n+=";sameSite="+t.sameSite||"None",n+=t.secure||s?";secure":""}p.isEU=function(e){return!!e&&-1!==o.indexOf(e.toUpperCase())},p.cookieOvenRequest=function(e,o,t){try{e.open("GET",o,!0),e.send()}catch(e){t&&t(e)}},p.cookieOvenClient=function(e,o,t,n){if("withCredentials"in new XMLHttpRequest){var i=[p.POLICY_COOKIE_NAME,p.EXPLICIT_COOKIE_NAME];try{if(!t)throw new Error("Cannot make request to cross domain cookie service when domain is not set.");if(i.indexOf(e)<=-1)throw new Error("Cookie name is not in the whitelist accepted by the cross domain cookie service.");var r={com:"co.uk","co.uk":"com"}[t.match(/(co.uk|com)/)[0]],c=(l=n,(m=new XMLHttpRequest).withCredentials=!0,m.onload=function(){l&&l(null,m.status)},m.onerror=function(e){_("Request to cross domain cookie service encountered an error with code"+m.status+". "+e,l)},m.onabort=function(){_("Request to cross domain cookie service was aborted.",l)},m.ontimeout=function(){_("Request to cross domain cookie service timed out.",l)},m),s=(a=r,u=e,d=o,window.orb.partialCookieOvenUrl+"."+a+"/"+u+"/"+d);p.cookieOvenRequest(c,s,n)}catch(e){n&&n(e)}}else n(new Error("Cannot make request to cross domain cookie service as this browser does not support XmlHttpRequest with credentials."));var a,u,d,l,m},p.set=function(e,o,t,n){var i,r,c;if(void 0!==o){r=E(i=f(e),o,t);var s=t&&t.crossDomainEnabled;p.isAllowed(i)&&s&&p.cookieOvenClient(e,o,t.domain,n)}else i=(c=(""+e).match(/^([^=]+)(?==)/))&&c.length?c[0]:"",r=e;p.isAllowed(i)&&(document.cookie=r)},p.isAllowed=function(e){return!(e&&e.match&&e.match(/^ckns_cookietest[0-9]*/))&&function(e){var o=JSON.stringify(e);if(void 0!==i[o])return i[o];var t="";for(var n in e)e.hasOwnProperty(n)&&r[n]&&!0===e[n]&&(t+=(t?"|":"")+r[n]);return i[o]=new RegExp("^("+(t||".*")+")$","i"),i[o]}(p.readPolicy()).test(e)},p.readPolicy=function(e){var o=d();return e?o[e]:o},p.analyticsPolicyString=function(){var e=d();return"ad"+ +e.ads+"ps"+ +e.personalisation+"pf"+ +e.performance},p.get=function(e){return e?decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null:document.cookie},p.isCookiePolicySet=function(){return null!==p.get(p.POLICY_COOKIE_NAME)},p.setImplicitPolicy=function(e){"gb"===e?m({ads:!1,personalisation:!1,performance:!1,necessary:!0},!1):"eu"===e?m({ads:!1,personalisation:!1,performance:!1,necessary:!0},!1):"row"===e&&m({ads:!0,personalisation:!0,performance:!0,necessary:!0},!1)},p.setDefaultCookiesSingleDomain=function(){m(t,!1)},p.setDefaultCookiesCrossDomain=function(){m(t,!0)},p.copyPolicyCookiesCrossDomain=function(e){m(p.readPolicy(),!0,e)},p.setCookiePolicyCrossDomain=function(e){m(e,!0)},p._setPolicy=function(e,o,t,i){var n=p.readPolicy();n[e]=!!o,m(n,!t,function(){var e=p.get(p.EXPLICIT_COOKIE_NAME);null===e||e===p.IMPLICIT_FLAG?Promise.all([window.bbcuser.isUKCombined(),window.bbcuser.getCountry()]).then(function(e){var o=e[0],t=e[1],n=p.isEU(t);o||!n?C(p.EXPLICIT_FLAG,!0,i):n&&C(p.EXPLICIT_FLAG_EU,!0,i)}):i&&i()})},p.isCookieExplicitSet=function(){return null!==p.get(p.EXPLICIT_COOKIE_NAME)},p.copyExplicitCookiesCrossDomain=function(e){C(p.get(p.EXPLICIT_COOKIE_NAME),!0,e)},p.setCookieExplicitCrossDomain=function(e){C(e,!0)},p.cookiesEnabled=function(){try{document.cookie="cookietest=1";var e=-1!==document.cookie.indexOf("cookietest=");return document.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(e){return!1}},p.delete=function(e,o){c(e=f(e),o)},p.del=p.delete,p._crunch=function(){n("");for(var e=document.cookie.split(";"),o=0;o